package com.example.sams.mapper;

import com.example.sams.domain.po.Admins;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 管理员表 Mapper 接口
 * </p>
 *
 * @author jinghong
 * @since 2025-11-04
 */
public interface AdminsMapper extends BaseMapper<Admins> {
    @Select("SELECT * FROM admins WHERE user_id = #{userId}")
    Admins selectByUserId(@Param("userId") String userId);

}
